<template>

</template>

<script setup lang="ts">
import {watch} from "vue";
import {getTaskBusinessForm} from "./BusinessForm.api"

const props = defineProps({
  taskId: String
})

watch(() => props.taskId, (val, oVal) => {
  if(val) {
    initBusinessForm(val);
  }
})

async function initBusinessForm(taskId: string) {
  const formUrl = await getTaskBusinessForm(taskId);

}
</script>

<style scoped lang="less">

</style>
